﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="volva.Models" %>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Skrifa Skilaboð</h1>
    
    <div class="inputs">
        <!--
        form id="Form1" action="" method="post">
            To:
            <input type="text" id="toUser" name="toUser" value=""/>
            <textarea name="body" cols="40" rows="5">
            
                 
            </textarea><br>
            <input type="submit" value="Sends" />
        </form>
        -->
               <%
                   using (Html.BeginForm("SendMessage", "Account"))
                   {
    	%>
        <label for="WebUserTo">Til:</label>
		<input type="WebUserTo" id="WebUserTo" name="WebUserTo" class="text" /><br />
		<label for="subject">Titill</label>
		<input type="subject" id="subject" name="subject" class="text" /><br />
		<label for="messageBody">Skilaboð</label><br />
		<textarea id="messageBody" name="body" class="text" /></textarea><br />
	    
	    <input type="submit" value="Senda" class="btn" /> 
	    </div>
	    <%} %>
</asp:Content>
